package com.ls.lserp.dbaccess.Entity;

import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;

public class OgnizationPEntity extends DataEntity<OgnizationPEntity>{
    private Long ognizationId;

    private Long parentId;

    private String ognizationName;

    private String ognizationSimpleName;

    private String ognizationIdentify;

    private String ognizationCode;

    private Long legalPersonId;

    private Long dutyPersonId;

    private String ognizationLevelCd;

    private String ognizationCategoryCd;

    private Long ognizationType;

    private String ognizationCountry;

    private String ognizationCity;

    private String ognizationAddress;

    private String contactPerson;

    private String contactPhone;

    private String contactFax;

    private String contactEmail;

    private String ognizationZipcode;

    //private Long deleteFlag;

   // private Long version;

    private Long createUser;

    private Date createDate;

    private Long updateUser;

    private Date updateDate;

    private String ognizationDescription;

    // 基准数据类
    private OgnizationPEntity ognizationEntity;

    // 子项list
    private List<OgnizationPEntity> ognizationEntityList;

    public Long getOgnizationId() {
        return ognizationId;
    }

    public void setOgnizationId(Long ognizationId) {
        this.ognizationId = ognizationId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getOgnizationName() {
        return ognizationName;
    }

    public void setOgnizationName(String ognizationName) {
        this.ognizationName = ognizationName == null ? null : ognizationName.trim();
    }

    public String getOgnizationSimpleName() {
        return ognizationSimpleName;
    }

    public void setOgnizationSimpleName(String ognizationSimpleName) {
        this.ognizationSimpleName = ognizationSimpleName == null ? null : ognizationSimpleName.trim();
    }

    public String getOgnizationIdentify() {
        return ognizationIdentify;
    }

    public void setOgnizationIdentify(String ognizationIdentify) {
        this.ognizationIdentify = ognizationIdentify == null ? null : ognizationIdentify.trim();
    }

    public String getOgnizationCode() {
        return ognizationCode;
    }

    public void setOgnizationCode(String ognizationCode) {
        this.ognizationCode = ognizationCode == null ? null : ognizationCode.trim();
    }

    public Long getLegalPersonId() {
        return legalPersonId;
    }

    public void setLegalPersonId(Long legalPersonId) {
        this.legalPersonId = legalPersonId;
    }

    public Long getDutyPersonId() {
        return dutyPersonId;
    }

    public void setDutyPersonId(Long dutyPersonId) {
        this.dutyPersonId = dutyPersonId;
    }

    public String getOgnizationLevelCd() {
        return ognizationLevelCd;
    }

    public void setOgnizationLevelCd(String ognizationLevelCd) {
        this.ognizationLevelCd = ognizationLevelCd == null ? null : ognizationLevelCd.trim();
    }

    public String getOgnizationCategoryCd() {
        return ognizationCategoryCd;
    }

    public void setOgnizationCategoryCd(String ognizationCategoryCd) {
        this.ognizationCategoryCd = ognizationCategoryCd == null ? null : ognizationCategoryCd.trim();
    }

    public Long getOgnizationType() {
        return ognizationType;
    }

    public void setOgnizationType(Long ognizationType) {
        this.ognizationType = ognizationType;
    }

    public String getOgnizationCountry() {
        return ognizationCountry;
    }

    public void setOgnizationCountry(String ognizationCountry) {
        this.ognizationCountry = ognizationCountry == null ? null : ognizationCountry.trim();
    }

    public String getOgnizationCity() {
        return ognizationCity;
    }

    public void setOgnizationCity(String ognizationCity) {
        this.ognizationCity = ognizationCity == null ? null : ognizationCity.trim();
    }

    public String getOgnizationAddress() {
        return ognizationAddress;
    }

    public void setOgnizationAddress(String ognizationAddress) {
        this.ognizationAddress = ognizationAddress == null ? null : ognizationAddress.trim();
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson == null ? null : contactPerson.trim();
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    public String getContactFax() {
        return contactFax;
    }

    public void setContactFax(String contactFax) {
        this.contactFax = contactFax == null ? null : contactFax.trim();
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail == null ? null : contactEmail.trim();
    }

    public String getOgnizationZipcode() {
        return ognizationZipcode;
    }

    public void setOgnizationZipcode(String ognizationZipcode) {
        this.ognizationZipcode = ognizationZipcode == null ? null : ognizationZipcode.trim();
    }

    //public Long getDeleteFlag() {
    //    return deleteFlag;
   // }

   // public void setDeleteFlag(Long deleteFlag) {
    //    this.deleteFlag = deleteFlag;
    //}

   // public Long getVersion() {
    //    return version;
    //}

   // public void setVersion(Long version) {
   //     this.version = version;
   // }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getOgnizationDescription() {
        return ognizationDescription;
    }

    public void setOgnizationDescription(String ognizationDescription) {
        this.ognizationDescription = ognizationDescription == null ? null : ognizationDescription.trim();
    }
        public  OgnizationPEntity  getOgnizationPEntity() {
            return ognizationEntity;
        }

        public void setOgnizationPEntity(OgnizationPEntity ognizationEntity) {
            this.ognizationEntity = ognizationEntity;
        }

        public List<OgnizationPEntity> getOgnizationPEntityList() {
            return ognizationEntityList;
        }

        public void setOgnizationPEntityList(List<OgnizationPEntity> ognizationEntityList) {
            this.ognizationEntityList = ognizationEntityList;
        }

}